package com.demo2do.boyle.common.entity.customer.wallet;

/**
 * 
 * @author Wilson
 */
public enum RecordType {

    PHONE_DEPOSIT("手机充值", "phonedeposit"),

    TASK_REWARD("做任务", "taskreward"),

    CASH_OUT("取现", "cashout");

    private String description;
    
    private String alias;

    private RecordType(String description, String alias) {
        this.description = description;
        this.alias = alias;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
	 * @return the alias
	 */
	public String getAlias() {
		return alias;
	}

	/**
	 * @param alias the alias to set
	 */
	public void setAlias(String alias) {
		this.alias = alias;
	}
	
	/*
	 * (non-Javadoc)
	 * @see java.lang.Enum#toString()
	 */
	@Override
    public String toString() {
        return description;
    }

}
